<!DOCTYPE html>
<html style="height: 100%;width: 100%;" lang="en">
<head>
    <meta charset="UTF-8">
    <title>canvas匀加速直线运动</title>
</head>
<style>
    *{
        padding: 0;
        margin: 0 ;
    }
</style>
<body style="height: 100%;width: 100%;">
<canvas  style="height: 100%;width: 100%;position: absolute" id="canvas"></canvas>

<input type="button" style="width: 20px; left: 0;top: 0;position: absolute" onmousedown="change()">
<script type="text/javascript" src="anime.js"></script>
</body>
</html>